namespace WFTest.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class V_STK_INSTOCK_A
    {
        public int? FENTRYID { get; set; }

        [StringLength(50)]
        public string F_VIVH_TEXT_PI { get; set; }

        [Key]
        [Column(Order = 0)]
        [StringLength(30)]
        public string FBILLNO { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(8)]
        public string FDOCUMENTSTATUS { get; set; }

        [StringLength(255)]
        public string FBILLTYPE { get; set; }

        [Key]
        [Column(Order = 2)]
        public DateTime FDATE { get; set; }

        [Key]
        [Column(Order = 3)]
        [StringLength(255)]
        public string FSTOCKDEPT { get; set; }

        [StringLength(255)]
        public string FPURCHASER { get; set; }

        [StringLength(255)]
        public string FPURORG { get; set; }

        [StringLength(255)]
        public string FPURDEP { get; set; }

        [StringLength(255)]
        public string FSUPP { get; set; }

        [StringLength(50)]
        public string FSHORTNAME { get; set; }

        [StringLength(80)]
        public string FNUMBER { get; set; }

        [StringLength(255)]
        public string FNAME { get; set; }

        [StringLength(510)]
        public string FSPECIFICATION { get; set; }

        public decimal? FREALQTY { get; set; }

        [StringLength(80)]
        public string FUNIT { get; set; }

        [StringLength(80)]
        public string FSTOCK { get; set; }

        [StringLength(40)]
        public string FWWINTYPE { get; set; }

        public decimal? FPRICE { get; set; }

        public decimal? FTAXPRICE { get; set; }

        public DateTime? FAPPROVEDATE { get; set; }

        [StringLength(50)]
        public string FPOORDERNO { get; set; }

        [StringLength(160)]
        public string FSRCBILLNO { get; set; }

        [StringLength(255)]
        public string FNOTE { get; set; }
    }
}
